import { ApiProperty } from "@nestjs/swagger"
import { IsNotEmpty } from "class-validator"

export class CreateCommentDto {
  @ApiProperty({ description: '', default: '' })
  @IsNotEmpty({ message: '留言必填' })
  readonly name: string
}